﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SharpErp.Data.Common.Entity
{
    [Serializable]
    [Table("material_nine_class")]
    public class MaterialNineClass : BaseEntity
    {
        [Column("id")]
        public int Id { get; set; }

        [Column("parent_id")]
        public int ParentId { get; set; }

        [Column("area")]
        public int Area { get; set; }

        [Column("inventory")]
        public double Inventory { get; set; }

        [Column("invalid_inventory")]
        public double InvalidInventory { get; set; }

        [Column("length")]
        public string Length { get; set; }

        [Column("height")]
        public string Height { get; set; }

        [Column("width")]
        public string Width { get; set; }

        [Column("count")]
        public double Count { get; set; }

        [Column("unit")]
        public string Unit { get; set; }

        [Column("qichu")]
        public int Qichu { get; set; }

        [Column("xianchu")]
        public int Xianchu { get; set; }

        [Column("alert_value")]
        public string AlertValue { get; set; }

        [Column("auto_cut")]
        public string AutoCut { get; set; }

        [Column("material_price")]
        public double MaterialPrice { get; set; }

        [Column("buy_price")]
        public double BuyPrice { get; set; }
    }
}
